/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.swosh.stomp.ejbtest;

import java.util.List;

/**
 *
 * @author swosh
 */
public interface PersonDAO {

    public void addPerson(Person p);

    public List<Person> getPersons();

    public void updatePerson(Person oldP, Person newP);

    public List<Person> getPersonsLatLonNameId();

    public Person getPerson(int id);

    public void deletePerson(Person p);
}
